﻿----------------------------------------------------------------------------------------------------
--
--  © 2012 Stanislav S. Yarmonov.
--
--  TODO:LICENSE
--     
----------------------------------------------------------------------------------------------------
EXECUTE [_DB].[Procedure_Drop] N'[_DB].[LogType_Register]'
GO

----------------------------------------------------------------------------------------------------
--
--  LogType registration routine.
--
--  INPUT
--		@@Name
--		Name of the log type.
--
--		@@Description
--		Log type description.
--
----------------------------------------------------------------------------------------------------
CREATE PROCEDURE [_DB].[LogType_Register]
	@@Name [varchar](128),
	@@Description [nvarchar](max)
AS
SET NOCOUNT ON

INSERT INTO [_DB].[LogType] (
	[Name],
	[Description]
) SELECT
	@@Name,
	@@Description

RETURN 0
GO
